<html>
<head>
	<title><?php echo $title; ?> - Digital Lifeline</title>
	<?php
		$this->load->helper('html');
		echo link_tag
		(
			array
			(
			  'href' => 'Publics/Styles/Global.css',
			  'rel' => 'stylesheet',
			  'type' => 'text/css'
			)
		);
		//
		$scriptPath = '/Publics/JavaScripts/Jqueries/';
	?>
	<script src="<?php echo base_url() . $scriptPath; ?>jquery-1.7.2.js"></script>
 </head>
<body>
	<div class="header">
		<div id="container">
			<span id="logo"></span>
			<span id="title">
				Digital Lifeline
			</span>
			<span id="mainNav">
				<a href="<?php echo site_url('Home/main'); ?>">Home</a> | 
				<a href="<?php echo site_url('Home/main/about'); ?>">About</a> | 
				<a href="<?php echo site_url('Home/main/contact'); ?>">Contact</a> | 
				<a href="<?php echo site_url('Ngo/create'); ?>">NGO Signup</a>
			</span>
			<span id="search">
				<input type="text" size="50" />
				<input type="submit" value="Search" />
			</span>
			<span id="log">
				<?php
					$u = $this->session->userdata('user');
					if($u == NULL)
					{
				?>
						<a href="<?php echo site_url('Ngo/login'); ?>">Login</a>
				<?php
					}
					else
					{
				?>
                        Greetings <?php echo $u->FullName; ?>! 
                        <a href="<?php echo site_url('Ngo/logout'); ?>">Logout</a>
				<?php 
					}
				?>
			</span>
			<div id="subNav">
				<span id="subNavs">
					<a href="<?php echo site_url('Ngo/read'); ?>">NGOs</a> | 
					<a href="<?php echo site_url('Beneficiary/read'); ?>">Beneficiaries</a> | 
					<a href="<?php echo site_url('Event/read'); ?>">Events</a>
				</span>
			</div>
		</div>
	</div>
	<div class="content">
		<div id="container">
			<h2><?php echo ucfirst($title); ?></h2>